gdk/wayland: Do not use xdg_wm_base.ping serials as "user input" serials
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 4 Nov 2021 13:40:21 +0000 (14:40 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 5 Nov 2021 13:42:53 +0000 (14:42 +0100)
commitc5ac80be2b2a86cdeb9fcd8dc85cc9c0108c818e
treeb84a1039aeec1465982251b0a250345137cac776
parent9c1a41052b71d685903ad664ada7937d7a514376
gdk/wayland: Do not use xdg_wm_base.ping serials as "user input" serials

Ping/pong serials are not meant to be interpreted as user input serials
(e.g. those given back later to the compositor on grabs). As a matter
of fact, Mutter uses a different count (i.e. timestamps) in these, so
using these serials may confuse the compositor into denying certain
operations like DnD.
gdk/wayland/gdkdisplay-wayland.c